import time
import logging
from appium.webdriver.common.mobileby import MobileBy
from selenium.common.exceptions import NoSuchElementException
from appium.webdriver.webdriver import WebDriver

from wechat_add.base.base import BasePage


class AddressListPage(BasePage):
    logging.info("滑动屏幕点击添加成员")
    def click_addmember(self):

        from ding.wechat_add.page.addmemberpage import AddMemberPage
        time.sleep(10)
        self.swipe_find("添加成员").click()

        return AddMemberPage(self.driver)
        #click 添加成员


